package cn.sunxyz.struct.decorator;

/**
 * Created by yangrd on 2017/5/12.
 */
public class Coffe implements Drink {

    private int price;

    public Coffe(int price) {
        this.price = price;
    }

    @Override
    public int getPrice() {
        return this.price;
    }

    @Override
    public String toString() {
        return "Coffe";
    }
}
